package com.atguigu.gmall.feign.product;

import com.atguigu.gmall.model.vo.IndexCategoryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author lsj
 * @create 2021-08-21 1:24
 */
@FeignClient("server-product")
public interface CategoryFeignClient {

    @GetMapping("/admin/product/getAllCategorys")
    List<IndexCategoryVo> getAllCategorysForIndexHtml();

}
